home *** CD-ROM | disk | FTP | other *** search
/ CD School House 9 / CD School House 9.0 - Wayzata Technology (1994).iso / pc / games / dos / cards / bj_hir / blkjak2.doc next >
Text File  |  1988-08-25  |  9KB  |  196 lines

  1.  
  2.   ╔═════════════════════════════════════════════════════════════════════════╗
  3.   ║  Blackjack - Version 2.0 for IBM-PC/XT/AT/386 and compatible computers  ║
  4.   ║                        with EGA or VGA Displays                         ║
  5.   ║                     By:  Bob Sully - 25 August 1988                     ║
  6.   ╚═════════════════════════════════════════════════════════════════════════╝
  7.  
  8.     I.  Legal Formalities:
  9.  
  10.          The face-card image files (JACK.IMG, QUEEN.IMG, and KING.IMG),
  11.      included in this package, the source code for the main program, and
  12.      this document file are copyright 1988 by Robert C. Sully.  Portions of
  13.      the executable file BLKJAK2.EXE are copyright Microsoft Corporation.
  14.  
  15.          The executable file and image files may be copied and distributed
  16.      freely, provided: (1) that they are unaltered in any fashion; (2) they
  17.      are distributed together as a package which also includes this document
  18.      file; and (3) no fees or charges are received for copies in excess of
  19.      the cost of the media.
  20.  
  21.          Support the ShareWare concept.  You are entitled to a short trial
  22.      period during which you may evaluate the program.  If you find that you
  23.      enjoy the program and use it for longer than a short time, (a week, for
  24.      example), I'd appreciate a donation of $10.  Such donations encourage
  25.      ShareWare authors such as myself to continue to write these programs.
  26.  
  27.  
  28.    II.  Background Information:
  29.  
  30.          The initial version of this program was written to simulate a Las
  31.      Vegas-type blackjack game to give me some practice with basic strategy
  32.      before venturing out to the casinos.  The initial version was written
  33.      in interpreted BASIC on a Heath/Zenith H-100, a dual-processor (8088,
  34.      8085) machine which was introduced at about the same time as the orig-
  35.      inal IBM-PC-1.  It was able to run CP/M and a vanilla version of MS-DOS.
  36.      Its video setup, however, was quite different.  It came with 192K of
  37.      bit-mapped video memory, which allowed a resolution of 640x225 pixels in
  38.      eight colors (compare with 320x200 in four colors for the CGA standard).
  39.      It could display up to 450 pixels vertically in interlace mode.  Having
  40.      video memory on a separate board allowed the machine to utilize up to
  41.      768K of DOS system memory.
  42.          However, the original version (1.0) was written in text-only
  43.      mode.  For example, it would display "You have: Five of Hearts and
  44.      King of Clubs".  After a while, however, I decided to utilize some of
  45.      the capabilities of the '100's video, and the direct predecessor of 
  46.      this program was born (1.4, after a few bug fixes and improvements).
  47.      Its appearance was fairly similar to version 2; however, the face cards
  48.      were much less impressive, in part due to the vertical resolution avail-
  49.      able.  Also, the code was, though "structured" (as much as is possible 
  50.      in interpreted BASIC), less "tight".
  51.          This version was entered in a contest for graphic games sponsored 
  52.      by the national Heath/Zenith Users' Group and finished among the top
  53.      six programs submitted nationally.  It can be obtained from the Heath
  54.      Users' Group, Benton Harbor, Michigan, in the "Z-DOS Games Contest"
  55.      package.
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.                                      - 1 -
  63.  
  64.  
  65.  
  66.  
  67.  
  68.          A few minor changes ensued, namely, addition of a card-counting
  69.      aid (display of the High/Low ratio on screen (1.5)).
  70.          Eventually, I yielded to temptation and bought an AT-compatible
  71.      machine with EGA video (an AST Premium-286).  At that time, an attempt
  72.      to port the program over to compiled BASIC was attempted, with mixed
  73.      results.  The original Microsoft BASIC compiler was less than optimal,
  74.      and the project stalled for a short time.  However, with the release of
  75.      the QuickBASIC series, with its support for true "structured" BASIC
  76.      programming and excellent graphics support, the conversion became quite
  77.      a bit easier.  The code was cleaned up and partly re-written.  The 
  78.      face card images were created using PFS:First Publisher; a couple of
  79.      small programs were written to generate the disk files.  The font
  80.      used on the cards was created bitwise and is read into an array,
  81.      allowing precise display and manipulation (including inversion on the
  82.      lower half of each card image).  Short tunes were added to the end-of-
  83.      game and test-for-blackjack subroutines to "liven up" the program a
  84.      bit (if these become annoying, hitting a function key will toggle them
  85.      "off").   A "Help" screen was added to allow review of the basics of 
  86.      the game while in progress.
  87.  
  88.  
  89.   III.  Hardware Requirements:
  90.  
  91.          The final version was written and compiled on the AST with an ATI
  92.      Wonder EGA card and a Heath/Zenith '386 with a Video-7 16-bit VGA card,
  93.      under Microsoft's QuickBASIC version 4.5. 
  94.          It will "auto-sense" the highest available graphics display mode.
  95.      An EGA or VGA card is currently required to run this program.  If support
  96.      exists for a Hercules/TTL Monochrome version (and financial support is
  97.      forthcoming) I'll consider porting it over.
  98.          This program will run on any IBM PC/XT/AT/386 or close compatible.
  99.      It does run a bit slowly on an older 4.77-MHz 8088-based machine but is
  100.      fairly tolerable on a "turbo" XT clone.  It may seem a bit too fast on
  101.      quicker 80286- and 80386-based machines.  For this reason, a "slowdown"
  102.      option is offered for such machines.  Memory requirements can differ
  103.      depending on which version of DOS you're running.  However, it should
  104.      run on just about any machine with 256K of memory.
  105.  
  106.    IV.  Basic Operation:
  107.  
  108.          Run the program by entering the program name, BLKJAK2, at the DOS
  109.      prompt.  The screen will clear, and a banner will be printed.  The 
  110.      program will then search the disk for the face-card image files, namely
  111.      JACK.IMG, QUEEN.IMG, and KING.IMG.  These must be in the same directory
  112.      as the executable file.  If they are found, the "no errors" message will
  113.      be displayed, and the initial graphic screen will be displayed.  If any
  114.      or all of the files are missing, a message to this effect will be dis-
  115.      played, and you will be dropped back out to DOS.
  116.          If all of the files are found, the program will then ask whether
  117.      you wish to display a list of the rules.  Reply "Y" or "N".  The rules
  118.      are patterned after the commonest set of Las Vegas Strip casino rules,
  119.      with the following exception: only one SPLIT is allowed, due to limited
  120.      screen space (I decided to favor better, more readable cards rather
  121.      than a larger number of hands).  Next, the program will ask you how 
  122.      many decks you wish to play with.  From one to six decks can be used.
  123.      One-deck games are VERY rare in Las Vegas, Reno, and Lake Tahoe casinos
  124.      nowadays because of the relative ease of card-counting in single-deck
  125.      games.  Most "shoes" contain six decks.  The program will reshuffle
  126.      after around 80% of the cards have been dealt.
  127.  
  128.  
  129.                                      - 2 -
  130.  
  131.  
  132.  
  133.          Next, the program will ask if you want to slow it down.  Only do
  134.      this with a faster '286 or '386 machine.  I've found that it becomes
  135.      reasonable to do this at about 12-16 MHz.  You'll definitely need to
  136.      do this if you are running on a 25-MHz '386!
  137.          Next, the actual playing screen will be displayed.  You may wager
  138.      between $2 and $1,000 per hand.  Doubling down or splitting doubles 
  139.      your bet.  You may double down after splitting.  Blackjack pays 1.5 to
  140.      one.  "Insurance" bets are one-half of your original bet, and are paid
  141.      double (the hand is a "wash") if the computer gets a natural and you 
  142.      are insured. * For a complete set of rules, see the program itself, and
  143.      the HELP screen (F6 at the Option: prompt). *
  144.          To quit, enter zero as your bet.  Hit "Y" to confirm when asked if
  145.      you really wish to quit.
  146.  
  147.  
  148.          Enjoy!  Any suggestions (as well as the donation/registration
  149.      fee) may be sent to:
  150.  
  151.          Bob Sully
  152.          5601 DeSoto Avenue, Department F.P.
  153.          Woodland Hills, CA   91367
  154.  
  155.          Of course, any significant bug reports may also be sent to the same
  156.      address.  Thanks!
  157.              
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                      - 3 -
  196.